package com.yzlwb.skt.domain;

import com.yzlwb.common.annotation.Excel;
import com.yzlwb.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 任务执行记录对象 skt_task_history
 * 
 * @author wfy
 * @date 2025-11-14
 */
public class SktTaskHistory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 司空二项目uuid */
    @Excel(name = "司空二项目uuid")
    private String twoProjectUuid;

    /** 司空二项目名称 */
    @Excel(name = "司空二项目名称")
    private String twoProjectName;

    /** 任务名称 */
    @Excel(name = "任务名称")
    private String taskName;

    /** 任务id */
    @Excel(name = "任务id")
    private String taskUuid;

    /** 任务类型 */
    @Excel(name = "任务类型")
    private String taskType;

    /** 任务状态 */
    @Excel(name = "任务状态")
    private String taskStatus;

    /** 执行任务的设备SN */
    @Excel(name = "执行任务的设备SN")
    private String taskSn;

    /** 任务降落的设备SN，若为空则表示仅使用一个设备 */
    @Excel(name = "任务降落的设备SN，若为空则表示仅使用一个设备")
    private String landingDockSn;

    /** 任务设定的开始时间 */
    @Excel(name = "任务设定的开始时间")
    private String beginAt;

    /** 任务设定的结束时间 */
    @Excel(name = "任务设定的结束时间")
    private String endAt;

    /** 任务实际执行的时间 */
    @Excel(name = "任务实际执行的时间")
    private String runAt;

    /** 任务实际完成的时间 */
    @Excel(name = "任务实际完成的时间")
    private String completedAt;

    /** 任务执行航线ID */
    @Excel(name = "任务执行航线ID")
    private String waylineUuid;

    /** 任务关联的媒体文件夹ID */
    @Excel(name = "任务关联的媒体文件夹ID")
    private Long folderId;

    /** 任务已经飞完的航点数量 */
    @Excel(name = "任务已经飞完的航点数量")
    private Long currentWaypointIndex;

    /** 任务的总航点数量 */
    @Excel(name = "任务的总航点数量")
    private Long totalWaypoints;

    /** 媒体上传状态 */
    @Excel(name = "媒体上传状态")
    private String mediaUploadStatus;

    /** 断点续飞状态 */
    @Excel(name = "断点续飞状态")
    private String resumableStatus;

    /** 是否为断点续飞任务0false  1:true  */
    @Excel(name = "是否为断点续飞任务0false  1:true ")
    private Integer isBreakPointResume;

    /** 任务操作者账号 */
    @Excel(name = "任务操作者账号")
    private String operatorAccount;

    /** 异常信息-任务执行错误码 */
    @Excel(name = "异常信息-任务执行错误码")
    private Long exceptionsCode;

    /** 异常信息-错误信息 */
    @Excel(name = "异常信息-错误信息")
    private String exceptionsMessage;

    /** 异常信息-错误发生时间 */
    @Excel(name = "异常信息-错误发生时间")
    private String exceptionsHappen;

    /** 异常信息-错误发生的设备 */
    @Excel(name = "异常信息-错误发生的设备")
    private String exceptionsSn;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    public void setTwoProjectUuid(String twoProjectUuid) 
    {
        this.twoProjectUuid = twoProjectUuid;
    }

    public String getTwoProjectUuid() 
    {
        return twoProjectUuid;
    }

    public void setTwoProjectName(String twoProjectName) 
    {
        this.twoProjectName = twoProjectName;
    }

    public String getTwoProjectName() 
    {
        return twoProjectName;
    }

    public void setTaskName(String taskName) 
    {
        this.taskName = taskName;
    }

    public String getTaskName() 
    {
        return taskName;
    }

    public void setTaskUuid(String taskUuid) 
    {
        this.taskUuid = taskUuid;
    }

    public String getTaskUuid() 
    {
        return taskUuid;
    }

    public void setTaskType(String taskType) 
    {
        this.taskType = taskType;
    }

    public String getTaskType() 
    {
        return taskType;
    }

    public void setTaskStatus(String taskStatus) 
    {
        this.taskStatus = taskStatus;
    }

    public String getTaskStatus() 
    {
        return taskStatus;
    }

    public void setTaskSn(String taskSn) 
    {
        this.taskSn = taskSn;
    }

    public String getTaskSn() 
    {
        return taskSn;
    }

    public void setLandingDockSn(String landingDockSn) 
    {
        this.landingDockSn = landingDockSn;
    }

    public String getLandingDockSn() 
    {
        return landingDockSn;
    }

    public void setBeginAt(String beginAt) 
    {
        this.beginAt = beginAt;
    }

    public String getBeginAt() 
    {
        return beginAt;
    }

    public void setEndAt(String endAt) 
    {
        this.endAt = endAt;
    }

    public String getEndAt() 
    {
        return endAt;
    }

    public void setRunAt(String runAt) 
    {
        this.runAt = runAt;
    }

    public String getRunAt() 
    {
        return runAt;
    }

    public void setCompletedAt(String completedAt) 
    {
        this.completedAt = completedAt;
    }

    public String getCompletedAt() 
    {
        return completedAt;
    }

    public void setWaylineUuid(String waylineUuid) 
    {
        this.waylineUuid = waylineUuid;
    }

    public String getWaylineUuid() 
    {
        return waylineUuid;
    }

    public void setFolderId(Long folderId) 
    {
        this.folderId = folderId;
    }

    public Long getFolderId() 
    {
        return folderId;
    }

    public void setCurrentWaypointIndex(Long currentWaypointIndex) 
    {
        this.currentWaypointIndex = currentWaypointIndex;
    }

    public Long getCurrentWaypointIndex() 
    {
        return currentWaypointIndex;
    }

    public void setTotalWaypoints(Long totalWaypoints) 
    {
        this.totalWaypoints = totalWaypoints;
    }

    public Long getTotalWaypoints() 
    {
        return totalWaypoints;
    }

    public void setMediaUploadStatus(String mediaUploadStatus) 
    {
        this.mediaUploadStatus = mediaUploadStatus;
    }

    public String getMediaUploadStatus() 
    {
        return mediaUploadStatus;
    }

    public void setResumableStatus(String resumableStatus) 
    {
        this.resumableStatus = resumableStatus;
    }

    public String getResumableStatus() 
    {
        return resumableStatus;
    }

    public void setIsBreakPointResume(Integer isBreakPointResume) 
    {
        this.isBreakPointResume = isBreakPointResume;
    }

    public Integer getIsBreakPointResume() 
    {
        return isBreakPointResume;
    }

    public void setOperatorAccount(String operatorAccount) 
    {
        this.operatorAccount = operatorAccount;
    }

    public String getOperatorAccount() 
    {
        return operatorAccount;
    }

    public void setExceptionsCode(Long exceptionsCode) 
    {
        this.exceptionsCode = exceptionsCode;
    }

    public Long getExceptionsCode() 
    {
        return exceptionsCode;
    }

    public void setExceptionsMessage(String exceptionsMessage) 
    {
        this.exceptionsMessage = exceptionsMessage;
    }

    public String getExceptionsMessage() 
    {
        return exceptionsMessage;
    }

    public void setExceptionsHappen(String exceptionsHappen) 
    {
        this.exceptionsHappen = exceptionsHappen;
    }

    public String getExceptionsHappen() 
    {
        return exceptionsHappen;
    }

    public void setExceptionsSn(String exceptionsSn) 
    {
        this.exceptionsSn = exceptionsSn;
    }

    public String getExceptionsSn() 
    {
        return exceptionsSn;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("twoProjectUuid", getTwoProjectUuid())
            .append("twoProjectName", getTwoProjectName())
            .append("taskName", getTaskName())
            .append("taskUuid", getTaskUuid())
            .append("taskType", getTaskType())
            .append("taskStatus", getTaskStatus())
            .append("taskSn", getTaskSn())
            .append("landingDockSn", getLandingDockSn())
            .append("beginAt", getBeginAt())
            .append("endAt", getEndAt())
            .append("runAt", getRunAt())
            .append("completedAt", getCompletedAt())
            .append("waylineUuid", getWaylineUuid())
            .append("folderId", getFolderId())
            .append("currentWaypointIndex", getCurrentWaypointIndex())
            .append("totalWaypoints", getTotalWaypoints())
            .append("mediaUploadStatus", getMediaUploadStatus())
            .append("resumableStatus", getResumableStatus())
            .append("isBreakPointResume", getIsBreakPointResume())
            .append("operatorAccount", getOperatorAccount())
            .append("exceptionsCode", getExceptionsCode())
            .append("exceptionsMessage", getExceptionsMessage())
            .append("exceptionsHappen", getExceptionsHappen())
            .append("exceptionsSn", getExceptionsSn())
            .toString();
    }
}
